/*******************************************************************************
 * Copyright (c) 2005, 2007 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

/**
 * 
 */
package us.gaaoc.framework.dao;


import java.util.List;

import us.gaaoc.framework.model.CaseRecord;
import us.gaaoc.framework.model.CaseRecordIdExternalCaseRecordNumber;
import us.gaaoc.framework.model.Organizations;

/**
 * @author Michael Alexandrou
 *
 */
public interface CaseRecordExternalCaseRecordNumberDAO extends GenericDAO <CaseRecordIdExternalCaseRecordNumber, String>{

	public abstract void insertIntoCaseRecordIdExternalCaseRecordNumber(CaseRecord CaseRecord, String externalCaseRecordNumber, Organizations org);

	public abstract List<CaseRecord> findCaseRecordListByExternalCaseRecordNumber(String externalCaseRecordNummber);

	public abstract List<CaseRecordIdExternalCaseRecordNumber> findExternalCaseRecordNumbers(String caseRecordUuid);

	public abstract void updateExternalCaseNumber(String uuid, String newExternalCaseNumber);
}
